package org.wu.spring.db.integration.compare.domain.model.sys.user;


import org.wu.framework.lazy.orm.database.lambda.domain.LazyPage;
import org.wu.framework.web.response.Result;

import java.util.List;

/**
 * describe sys_user
 *
 * @author Jia wei Wu
 * @date 2024/02/28 11:27 上午
 * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyDomainRepository
 **/

public interface ORMRepository {


    /**
     * describe 批量新增
     *
     * @param rowSize    @return {@link Result<List<SysUser>>} 新增后领域对象集合
     * @param columnSize
     * @author Jia wei Wu
     * @date 2024/02/28 11:27 上午
     **/
    Result<List<SysUser>> batchStory(int rowSize, int columnSize) throws Exception;


    /**
     * describe 分页查询多个
     *
     * @param rowSize    当前页数
     * @param columnSize
     * @return {@link Result< LazyPage <SysUser>>} 分页领域对象
     * @author Jia wei Wu
     * @date 2024/02/28 11:27 上午
     **/

    Result<LazyPage<SysUser>> findPage(int rowSize, int columnSize) throws Exception;



}